package com.bookstore.dao;

import com.bookstore.entity.Notice;
import com.bookstore.entity.User;

import java.util.List;

public interface NoticeDao {
    int insertNotice(Notice notice);

    int updateNotice(Notice notice);

    int deleteNotice(Long noticeId);

    List<Notice> queryAllNotice();

    Notice queryNoticeId(Long noticeId);
}
